import request from '@/utils/request'

// 查询考试要求目标设置列表
export function listRequirements(query) {
  return request({
    url: '/basice_info/requirements/list',
    method: 'get',
    params: query
  })
}

// 查询考试要求目标设置详细
export function getRequirements(examRequirementsId) {
  return request({
    url: '/basice_info/requirements/' + examRequirementsId,
    method: 'get'
  })
}

// 新增考试要求目标设置
export function addRequirements(data) {
  return request({
    url: '/basice_info/requirements',
    method: 'post',
    data: data
  })
}

// 修改考试要求目标设置
export function updateRequirements(data) {
  return request({
    url: '/basice_info/requirements',
    method: 'put',
    data: data
  })
}

// 删除考试要求目标设置
export function delRequirements(examRequirementsId) {
  return request({
    url: '/basice_info/requirements/' + examRequirementsId,
    method: 'delete'
  })
}
